import axiosSetting from './setAxios'

const fetch = axiosSetting();

export default {
  // getUserInfo:fetch.bind(this,'/moni/userInfo','get')
  //获得全部商品的信息
  getGoods:fetch.bind(this,'/lsz/product/list','get'),
  //获取某页的数据
  getGoodsPage:fetch.bind(this, '/lsz/product/page','get'),
  //获取全部商品的数量
  getGoodsCount:fetch.bind(this,'/lsz/product/count','get'),
  //根据商品id获得商品信息
  goodsDetails:fetch.bind(this,'/lsz/product/item/','get')
}